{% extends 'adminbase.html' %}
{% block content_admin %}
	
	Updating Category :

	{% if category %}
		{{ category.title }} [<a href="/admin/admin_detailcategory/{{category.pk}}/">View</a>]
		
		<form action="/admin/admin_updatecategory/{{category.pk}}/" method="post">
		    <table>
		    {{form.as_table}}
		    </table>
		    <input type="submit" value="submit">
		</form>
	{% else %}
	    <p>No category found.</p>
	{% endif %}

{% endblock %}

